package com.alibaba.cirtus.ots.application.adapter.ability.facade.serviceV2.sap.innerService;

import com.alibaba.cirtus.ots.application.adapter.ability.model.api.BcFulfillmentOrderDetailSearchResponse;
import com.epoch.app.crb2btradecenter.domain.order.model.Order;

import java.util.List;

public interface FulfillmentOrderService {
    List<BcFulfillmentOrderDetailSearchResponse> getBcFulfillmentOrderDetail(Order order);

    List<BcFulfillmentOrderDetailSearchResponse> getBcFulfillmentOrderDetail(Order order,String fulfillmentOrderNo);
    /**
     * 获取有效的正向的履约单
     * @param order
     * @return
     */
    List<BcFulfillmentOrderDetailSearchResponse> getEffectiveBcFulfillmentOrderDetail(Order order);

    List<BcFulfillmentOrderDetailSearchResponse> getEffectiveBcFulfillmentOrderDetail(Order order,String fulfillmentOrderNo);
}
